#ifndef __ACTORCONTROLLER_H__
#define __ACTORCONTROLLER_H__
#include"actorbuilder.h"
#include<memory>
using namespace std;
class ActorController
{
public:
    Actor construct(shared_ptr<ActorBuilder> actorBuilder)
    {
        actorBuilder->buildType();
        actorBuilder->buildSex();
        actorBuilder->buildFace();
        actorBuilder->buildHairstyle();
        actorBuilder->buildBody();
        return actorBuilder->createActor();
    }
};
#endif